<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:include href="menu.xsl" />
<xsl:include href="footer.xsl" />
<xsl:output doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN" doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" method="xml" encoding="UTF-8" />
  <xsl:template match="/">
    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr">
  <head>
  <title>Framework Inovia</title>
	<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
	<link rel="stylesheet" href="public/manager/css/manager.css" type="text/css" media="screen" />  
	<script src="public/manager/js/maintenance.js" type="text/javascript" language="javascript"></script>
  <script type="text/javascript" src="public/manager/js/menu.js"></script>
  </head>
  <body>
    <div id="header">
    	<img id="logo" src="public/manager/images/bando.png" alt="Fw-BofF" />  
    </div>
    <div id="date">
      <xsl:value-of select=".//site/date" />
    </div>

    <xsl:call-template name="displayMenu">
      <xsl:with-param name="selectedMenu" select="string('formACL')"/>
    </xsl:call-template>
    
    
    <div id="PageLeft">     
      
      <div id="content" style="width:550px;">
        <h1 id="pageName" style="width:700px;margin-top:20px">   Access Control Lists   </h1>
        
        
    		<xsl:variable name="nbError" select="count(//error)" />
        <xsl:if test="$nbError!=0">
    		  <p>
    		  <xsl:for-each select=".//error">
        		  <span class="important"><xsl:value-of select="text" /></span><br/>
          </xsl:for-each>  
          </p>
    		 </xsl:if>
    		 
        <xsl:variable name="nbMessage" select="count(.//message)" />
        <xsl:if test="$nbMessage!=0">
    		  <p>
        		  <span class="important"><xsl:value-of select=".//message" /></span><br/>
          </p>
    		 </xsl:if>
        
        <div style="margin:10px 0 0 20px;width:680px;padding:0px;border:1px dotted #AAAAAA;background-color:#ECF3E1;">
        
        <form action="index.php" name="actionsForm">
        <input type="hidden" name="action" value="editACL"/>
        <center><input type="submit" value="SAVE"/></center>
         <textarea name="acl" cols="94" rows="40" style="font-size:11px;">
            <xsl:value-of select=".//site/content"/>
         </textarea>
        </form>
        </div>
      </div>
      
      

    </div>
   <xsl:call-template name="displayFooter" />
  </body>
</html>
 </xsl:template>
 </xsl:stylesheet>
